package cn.jzq.kotoba.modules.designpattern.strategy.charge.demo;

import cn.jzq.kotoba.modules.designpattern.strategy.charge.ChargeTypeEnum;

public class UserAccountStrategy implements Strategy{

    @Override
    public Double calCharge(Double charge, ChargeTypeEnum type) {
        return charge * 0.9;
    }
}
